<!--离职详细信息显示-->
<?php include('header.php') ?>

<?php
$id=$_REQUEST['id'];

$sql = "select  allstudent.studentid, allstudent.studentname, allstudent.sex, allstudent.nation,allstudent.birthday, allstudent.scioa, allstudent.phone, allstudent.college,allstudent.major, apply.spacetime, apply.personaldescribe from allstudent, apply where allstudent.studentid='$id' and apply.studentid = '$id'";
$res = mysql_query($sql);
// var_dump($res);
if ($res==null)echo "空";
$row=mysql_fetch_array($res);
// echo $row["学生ID"]."<br/>";
// echo $row["姓名"].'<br/>';
// echo $row["性别"].'<br/>';
// echo $row["民族"]."<br/>";
// echo $row["政治面貌"].'<br/>';
// echo $row["出生日期"].'<br/>';
// echo $row["联系电话"]."<br/>";
// echo $row["学院"].'<br/>';
// echo $row["专业"].'<br/>';
// echo $row["空余时间"]."<br/>";
// echo $row["个人描述"].'<br/>';
// echo $row["学号"]."<br/>";
// echo $row["空余时间"]."<br/>";
// echo $row["个人描述"]."<br/>";
?>

 
<div id="mainbody"  >
<div class="col-lg-12" id="charge">
    <div class="panel panel-primary">
   <div class="panel-heading">
      <h3 class="panel-title"><?php echo $row["studentname"]?>&nbsp;&nbsp;的入职申请</h3>
   </div>
   <div class="panel-body">
     
   </div>
   <form enctype="multipart/form-data" action="../control/insert_student.php" method="post" name="uploadForm" id="uploadForm">
<table  border="0" align="center">
  <tr>
    <td height="593">
	<table width="981" height="593" border="0" cellspacing="0" bordercolor="#999999">
      <tr>
        <td width="360" align="center">学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:<input type="text" name="usernum" id="usernum" readonly="readonly"
        				 value="<?php echo $row["studentid"]?>"/>
        </td>
        <td width="400">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="radio" name="sex" id="男"  value="男"  <?php if ($row["sex"]=="男")echo "checked = 'checked'"?> disabled/>男&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="radio" name="sex" id="女" value="女" <?php if ($row["sex"]=="女")echo "checked ='checked'"?> disabled/>女</td>

      </tr>
      <tr>
        <td align="center">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名:<input type="text" name="username" id="username" readonly="readonly"
         	value="<?php echo $row["studentname"]?>"/>
         </td>
        <td>学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;院:<input  type="text"  id="college" readonly="readonly" value="<?php echo $row["college"]?>"/></td>
        </tr>
      <tr>
        <td align="center">民&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;族:<input type="text" name="usernation" id="usernation" readonly="readonly"
         value="<?php echo $row["nation"]?>"
         /></td>
        <td>专&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;业:<input type="text" name="usermajor" id="usermajor" readonly="readonly"
         value="<?php echo $row["major"]?>"
         /></td>
        </tr>
      <tr>
        <td align="center">年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;龄:<input type="text" name="userage" id="userage" readonly="readonly"
         value="<?php echo $row["birthday"]?>"
         /></td>
        <td>电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话:<input type="text" name="userphone" id="userphone" readonly="readonly"
         value="<?php echo $row["phone"]?>"
         /></td>
        </tr>
      <tr>
      <td align="center">政治面貌:<input type="text"  id="polit_status" readonly="readonly"
        value="<?php echo $row["scioa"]?>"/>
		</td>
        <td>申请岗位:<input type="text"  id="station" readonly="readonly"
        value="<?php echo $row["station"]?>"/>
        </td>
        </tr>
      <tr>
        <td colspan="3">
		<table width="980" height="107" border="0" cellspacing="0">
          <tr>
            <td width="100" height="106" ><p align="center"><font size="4"><b>申</br>请</br>理</br>由</b></font></p></td>
            <td ><textarea name="reason" id ="reason"cols="115" rows="5" readonly="readonly"><?php echo $row["personaldescribe"]?></textarea></td>
          </tr>
        </table></td>
        </tr>
        
      
      <tr align="center">
        <td colspan="3"><table width="980" height="60" border="1" cellspacing="0" bordercolor="#1874CD">
         
        </table>
		</td>
        </tr>
      <tr>
        <td height="37" colspan="3" align="center">
		是否通过审核: &nbsp;&nbsp;&nbsp;是<input type="radio"  name="yon" id="man" checked="checked" value="yes" />
			   				  &nbsp;&nbsp;&nbsp;否<input type="radio" name="yon" id="woman" value="no" />
		</td>
      </tr>
      <tr><td  colspan="3"  align="center"><input type="submit" value="提交"></td></tr>
    </table></td>
  </tr>
</table>
</form>

</div>

<?php include('foot.php') ?>